package com.zhixiang.xaec.service.safebase.safecultruetrain.impl;
import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safebase.safecultruetrain.CultureActivityDao;
import com.zhixiang.xaec.entity.safebase.safecultruetrain.CultureActivity;
import com.zhixiang.xaec.service.safebase.safecultruetrain.CultureActivityService;

@Service
public class CultureActivityServiceImpl extends BaseServiceImpl<CultureActivity,Long> implements CultureActivityService{

	@Override
	@Resource(type=CultureActivityDao.class)
	public void setBaseDao(BaseDao<CultureActivity,Long> dao) {
		
		setDao(dao);
	}

	@Override
	public void delete(String[] ids) {
	     for(String id:ids){
	         getDao().remove(Long.valueOf(id));
	       }
		
	}
 
}
